/*此style准备给用户的登录/注册阶段*/
html[theme="light"]:root {
    --welcome-color: aqua;
    --user-connect-bg: white;
    --user-connect-color: black;
    --register-border: black;
    --login-border: black;
}

html[theme="dark"]:root {
    --welcome-color: magenta;
    --user-connect-bg: gray;
    --user-connect-color: white;
    --register-border: black;
    --login-border: black;
}

#register-or-login {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 256;
    background-color: rgba(0, 0, 0, 0.7);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    border: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#welcome {
    color: var(--welcome-color);
    font-size: 50px;
}

#userConnect {
    position: relative;
    width: 50%;
    max-width: 400px;
    max-height: 300px;
    height: 50%;
    margin: 0;
    border: 0;
    padding: 0;
    background-color: var(--user-connect-bg);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#userConnect>#choose {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#userConnect>#choose>#register {
    position: relative;
    width: 50px;
    height: 40px;
    outline: none;
    border: 2px;
    border-right: 0;
    border-style: solid;
    border-color: var(--register-border);
    margin: 0;
    padding: 0;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

#userConnect>#choose>#login {
    position: relative;
    width: 50px;
    height: 40px;
    outline: none;
    border: 2px;
    border-left: 0;
    border-style: solid;
    border-color: var(--login-border);
    margin: 0;
    padding: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

#userConnect>#user>#getUsername {
    position: relative;
    width: 50%;
    left: 25%;
}

#userConnect>#user>#wrongUsername {
    position: relative;
    width: auto;
    font-size: 5px;
    color: red;
    left: 25%;
}

#userConnect>#passwd>#getPassword {
    position: relative;
    width: 50%;
    left: 25%;
}

#userConnect>#passwd>#wrongPassword {
    position: relative;
    width: auto;
    font-size: 5px;
    color: red;
    left: 25%;
}

#userConnect>#check_passwd>#checkPassword {
    position: relative;
    width: 50%;
    left: 25%;
}

#userConnect>#check_passwd>#wrongCheckPassword {
    position: relative;
    width: auto;
    font-size: 5px;
    color: red;
    left: 25%;
}

#userConnect>#submit {
    position: relative;
    width: 50%;
    outline: none;
    left: 25%;
}